local M = require "kv.map_common"
M.blockInfo = {
	{
		name = "start",
		color = Vector(255,128,128),
		pass = function(hero)
			--走到这步会触发这个函数
			ModifyGoldLtx(hero:GetPlayerOwnerID(),200)
		end
	},
	{
		name = "baoxiang",
		func = M.OnBaoXiang,
		model = "maps/reef_assets/models/props/camp/darkreef_camp_chest_of_booty.vmdl",
	},
	{
		name = "libiya",
		gold = 50,
		color = Vector(0,0,255),
		suit = 1,
		buildcost = 50,
		build = {
			--TODO 每升一级+的金币
			5,70,150,250,450
		}
	},
	{
		name = "sudan",
		gold = 60,
		suit = 1,
		color = Vector(0,0,255),
		build = {
			--TODO 每升一级+的金币
			30,60,80,420,450
		}
	},
	{
		name = "zhuanpan",
		func = M.OnZhuanPan
	},
	{
		name = "ribenzhan",
		gold = 200,
		suit = 2,
		func = M.OnCheZhan
	},
	{
		name = "siyecao",
		func = M.OnSiyecao
	},
	{
		name = "tuerqi",
		gold = 100,
		color = Vector(68,68,68),
		suit = 3,
		build = {
			--TODO 每升一级+的金币
			10,70,150,250,500
		}
	},
	{
		name = "xila",
		gold = 100,
		color = Vector(68,68,68),
		suit = 3,
		build = {
			--TODO 每升一级+的金币
			20,90,180,320,550
		}
	},
	{
		name = "baojialiya",
		gold = 120,
		color = Vector(68,68,68),
		suit = 3,
		build = {
			--TODO 每升一级+的金币
			20,100,200,360,600
		}
	},
	{
		name = "jianyu",
	},
	{
		name = "bolan",
		gold = 150,
		color = Vector(0,255,255),
		suit = 4,
		build = {
			--TODO 每升一级+的金币
			30,120,270,380,550
		}
	},
	{
		name = "eluosi",
		gold = 150,
		color = Vector(0,255,255),
		suit = 4,
		build = {
			--TODO 每升一级+的金币
			30,120,270,380,550
		}
	},
	{
		name = "wukelan",
		gold = 180,
		color = Vector(0,255,255),
		suit = 4,
		build = {
			--TODO 每升一级+的金币
			30,120,270,380,550
		}
	},
	{
		name = "jiaoting",
		suit = 5,
		buildcost = 200,
		build = {
			--TODO 每升一级+的金币
			44,88,555,666,777
		},
		func = function( hero )
			-- 过了两圈之后不用paimai，直接买
		end
	},
	{
		name = "xizhan",
		gold = 200,
		suit = 2,
		func = M.OnCheZhan
	},
	{
		name = "baoxiang",
		func = M.OnBaoXiang,
		model = "maps/reef_assets/models/props/camp/darkreef_camp_chest_of_booty.vmdl",
	},
	{
		name = "litaowan",
		gold = 200,
		suit = 6,
		color = Vector(0,255,0),
		build = {
			--TODO 每升一级+的金币
			70,150,280,380,550
		}
	},
	{
		name = "latuoweiya",
		gold = 200,
		suit = 6,
		color = Vector(0,255,0),
		build = {
			--TODO 每升一级+的金币
			70,190,330,450,660
		}
	},
	{
		name = "aishaniya",
		gold = 220,
		suit = 6,
		color = Vector(0,255,0),
		build = {
			--TODO 每升一级+的金币
			80,210,350,480,760
		}
	},
	{
		name = "tingchechang",
		func = function( hero )
			--如果有停车税就扣钱。TODO
		end
	},
	{
		name = "nuowei",
		gold = 220,
		suit = 7,
		color = Vector(255,255,0),
		build = {
			--TODO 每升一级+的金币
			80,210,350,480,760
		}
	},
	{
		name = "ruidian",
		gold = 220,
		suit = 7,
		color = Vector(255,255,0),
		build = {
			--TODO 每升一级+的金币
			80,210,350,480,760
		}
	},
	{
		name = "fenlan",
		color = Vector(255,255,0),
		gold = 240,
		suit = 7,
		build = {
			--TODO 每升一级+的金币
			100,300,750,800,920
		}
	},
	{
		name = "siyecao",
		func = M.OnSiyecao
	},
	{
		name = "meiguozhan",
		gold = 200,
		suit = 2,
		func = M.OnCheZhan
	},
	{
		name = "zhuanpan",
		func = M.OnZhuanPan
	},
	{
		name = "deguo",
		gold = 280,
		suit = 8,
		color = Vector(255,0,255),
		build = {
			--TODO 每升一级+的金币
			110,330,550,770,990
		}
	},
	{
		name = "faguo",
		gold = 280,
		suit = 8,
		color = Vector(255,0,255),
		build = {
			--TODO 每升一级+的金币
			110,330,550,770,990
		}
	},
	{
		name = "yingguo",
		gold = 300,
		suit = 8,
		color = Vector(255,0,255),
		build = {
			--TODO 每升一级+的金币
			120,330,550,770,1050
		}
	},
	{
		name = "zuolao",
		func = M.Zuolao,
	},
	{
		name = "jianada",
		gold = 300,
		suit = 9,
		color = Vector(255,128,0),
		build = {
			--TODO 每升一级+的金币
			130,390,550,770,1050
		}
	},
	{
		name = "meiguo",
		gold = 300,
		suit = 9,
		color = Vector(255,128,0),
		build = {
			--TODO 每升一级+的金币
			120,330,550,770,1050
		}
	},
	{
		name = "moxige",
		gold = 320,
		suit = 9,
		color = Vector(255,128,0),
		build = {
			--TODO 每升一级+的金币
			130,350,570,780,1250
		}
	},
	{
		name = "baoxiang",
		func = M.OnBaoXiang,
		model = "maps/reef_assets/models/props/camp/darkreef_camp_chest_of_booty.vmdl",
	},
	{
		name = "dongzhan",
		gold = 200,
		func = M.OnCheZhan
	},
	{
		name = "siyecao",
		func = M.OnSiyecao
	},
	{
		name = "dibai",
		gold = 360,
		suit = 10,
		color = Vector(255,0,0),
		build = {
			--TODO 每升一级+的金币
			180,350,700,1000,1700
		}
	},
	{
		name = "xiaweiyi",
		gold = 400,
		suit = 10,
		color = Vector(255,0,0),
		build = {
			--TODO 每升一级+的金币
			200,400,800,1300,2000
		}
	},
	{
		name = "tingcheshui",
		func = function ( hero )
			local id = hero:GetPlayerOwnerID()
			ModifyGoldLtx(id,100)
			local name = "tingchechang"
			local block = M.getCityByName(name).unit
			if not unit.tingcheshui then
				unit.tingcheshui = 0
			end
			unit.tingcheshui = unit.tingcheshui + 100
			--TODO特效更改
		end
	},
}

return M